package com.sharing.mapper;

import com.sharing.domain.Comments;
import com.sharing.domain.UserTalk;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author MingTian
 * @version 1.0
 * @description TODO
 * @date 2023/4/3 10:42
 */
@Mapper
public interface UserTalkMapper {

    List<UserTalk> selectUserTalksBySenderIdAndAcceptorId(Integer senderId, Integer acceptorId, Integer days);

    Integer insertUserTalk(UserTalk userTalk);

    UserTalk selectUserTalkById(Integer id);

    Integer deleteUserTalkById(Integer id);
}